//1.引入Vue
import Vue from "vue";

//2.引入VueX
import Vuex from 'vuex'

//3.启动插件Vuex
Vue.use(Vuex)

const state = {
  count : 0,
  price : 10086
}

//4.创建store仓库
export default new Vuex.Store({
  state,
})